<?php /* Smarty version 2.6.18, created on 2010-05-11 21:19:45
         compiled from cial/article.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'cial/article.tpl', 9, false),array('modifier', 'date_format', 'cial/article.tpl', 17, false),array('block', 'cacheless', 'cial/article.tpl', 53, false),)), $this); ?>
<?php $this->_cache_serials['C:/AppServ/www/xscms/template_c/\%%CA^CAD^CAD971AB%%article.tpl.inc'] = 'eb9a1564b0f6c4eff2fc0f79b12ba959'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/header.inc.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<div id="main">
		<div class="article">
		<div class="dt"><div>
				当前位置:	
				<?php unset($this->_sections['loc']);
$this->_sections['loc']['name'] = 'loc';
$this->_sections['loc']['loop'] = is_array($_loop=$this->_tpl_vars['locs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['loc']['show'] = true;
$this->_sections['loc']['max'] = $this->_sections['loc']['loop'];
$this->_sections['loc']['step'] = 1;
$this->_sections['loc']['start'] = $this->_sections['loc']['step'] > 0 ? 0 : $this->_sections['loc']['loop']-1;
if ($this->_sections['loc']['show']) {
    $this->_sections['loc']['total'] = $this->_sections['loc']['loop'];
    if ($this->_sections['loc']['total'] == 0)
        $this->_sections['loc']['show'] = false;
} else
    $this->_sections['loc']['total'] = 0;
if ($this->_sections['loc']['show']):

            for ($this->_sections['loc']['index'] = $this->_sections['loc']['start'], $this->_sections['loc']['iteration'] = 1;
                 $this->_sections['loc']['iteration'] <= $this->_sections['loc']['total'];
                 $this->_sections['loc']['index'] += $this->_sections['loc']['step'], $this->_sections['loc']['iteration']++):
$this->_sections['loc']['rownum'] = $this->_sections['loc']['iteration'];
$this->_sections['loc']['index_prev'] = $this->_sections['loc']['index'] - $this->_sections['loc']['step'];
$this->_sections['loc']['index_next'] = $this->_sections['loc']['index'] + $this->_sections['loc']['step'];
$this->_sections['loc']['first']      = ($this->_sections['loc']['iteration'] == 1);
$this->_sections['loc']['last']       = ($this->_sections['loc']['iteration'] == $this->_sections['loc']['total']);
?>
					<a href="index.php?a=column&pid=<?php echo $this->_tpl_vars['locs'][$this->_sections['loc']['index']]['id']; ?>
" title="<?php echo $this->_tpl_vars['locs'][$this->_sections['loc']['index']]['description']; ?>
"><?php echo $this->_tpl_vars['locs'][$this->_sections['loc']['index']]['title']; ?>
</a> >
				<?php endfor; endif; ?>
					<?php echo ((is_array($_tmp=$this->_tpl_vars['article']['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 27) : smarty_modifier_truncate($_tmp, 27)); ?>

				</div>	
				<span class="more">【字体：<A href="javascript:fontZoomA();" title="把正文字体缩小">小</A> <A href="javascript:fontZoomB();"title="把正文字体扩大">大</A>】</span></div>
        	<div class="dd">
			<div id="title">
				<div class="nav"> </div>
				<h1><?php echo ((is_array($_tmp=$this->_tpl_vars['article']['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
</h1>
				<div class="nav"> </div>
				<div>【 作者：<span class="fontcolor"><?php echo $this->_tpl_vars['article']['author']; ?>
</span>  &nbsp;&nbsp;&nbsp;&nbsp;来源： <span class="fontcolor"><?php echo $this->_tpl_vars['article']['comeFrom']; ?>
</span>&nbsp;&nbsp;&nbsp;&nbsp;点击数: <span class="fontcolor"><?php echo $this->_tpl_vars['article']['views']; ?>
</span>      &nbsp;&nbsp;&nbsp;&nbsp;更新时间： <span class="fontcolor"><?php echo ((is_array($_tmp=$this->_tpl_vars['article']['postTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</span>   】</div>
				<div class="nav"> </div>
			</div>
			<div class="nav"> </div>
			<div id="summary"><b>&nbsp;&nbsp;摘要:</b>&nbsp;&nbsp;<?php echo $this->_tpl_vars['article']['summary']; ?>
</div>
			<div class="nav"> </div>
			<div id="ccont">
				<?php echo $this->_tpl_vars['article']['content']; ?>

			</div>
			<div class="nav"> </div>
			<div class="dbar">
				<ul>
					<li>
						<span class="prve">上一篇：</span> 
						<?php if ($this->_tpl_vars['prevArticle'] == false): ?>
							这是第一篇，上一篇没有文章
						<?php else: ?>
							<a href="index.php?a=article&aid=<?php echo $this->_tpl_vars['prevArticle']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['prevArticle']['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
</a>
						<?php endif; ?>

					</li> 
					<li>
						<span class="next">下一篇：</span>
						<?php if ($this->_tpl_vars['nextArticle'] == false): ?>
							这是最后一篇，下一篇没有文章
						<?php else: ?>
							<a href="index.php?a=article&aid=<?php echo $this->_tpl_vars['nextArticle']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['nextArticle']['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
</a>
						<?php endif; ?>							
					</li>
				</ul>
			</div>
		</div>
		</div>
		<div class="nav"></div>
		
		<div class="article">
			<div class="dt"><strong><a href="index.php?a=comment&aid=<?php echo $this->_tpl_vars['aid']; ?>
">发表评论</a></strong><span class="more"><a href="index.php?a=comment&aid=<?php echo $this->_tpl_vars['aid']; ?>
">查看全部评论(<?php if ($this->caching && !$this->_cache_including): echo '{nocache:eb9a1564b0f6c4eff2fc0f79b12ba959#0}'; endif;$this->_tag_stack[] = array('cacheless', array()); $_block_repeat=true;smarty_block_cacheless($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><span class="red"><?php echo $this->_tpl_vars['commTotal']; ?>
</span><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_cacheless($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); if ($this->caching && !$this->_cache_including): echo '{/nocache:eb9a1564b0f6c4eff2fc0f79b12ba959#0}'; endif;?>)篇>></a></span></div>			<?php if ($this->caching && !$this->_cache_including): echo '{nocache:eb9a1564b0f6c4eff2fc0f79b12ba959#1}'; endif;$this->_tag_stack[] = array('cacheless', array()); $_block_repeat=true;smarty_block_cacheless($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
			
			<div class="dd">
			<?php if ($_SESSION['isLoginH']): ?>
				<?php if ($this->_tpl_vars['fbpl']): ?>
					<form action="index.php?a=comment&action=art" method="post">
					&nbsp;请自觉遵守互联网相关的政策法规，严禁发布色情、暴力、反动的言论。
					<input type="hidden" name="aid" value="<?php echo $this->_tpl_vars['article']['id']; ?>
">
					<input type="hidden" name="uid" value="<?php echo $_SESSION['uid']; ?>
">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;评价:
					<input type="radio" name="cmt" checked value="0"><img src="style/<?php echo $this->_tpl_vars['stylePath']; ?>
/images/cmt-neu.gif" border=0>中
					<input type="radio" name="cmt"  value="1"><img src="style/<?php echo $this->_tpl_vars['stylePath']; ?>
/images/cmt-good.gif" border=0>好评			
					<input type="radio" name="cmt"  value="-1"><img src="style/<?php echo $this->_tpl_vars['stylePath']; ?>
/images/cmt-bad.gif" border=0>差评
					<?php echo $this->_tpl_vars['FCK']; ?>

					<div class="subo"> 
						<input type="submit" class="button" name="sub" style="height:20px" value="发表评论">
						&nbsp;&nbsp;网友评论仅供网友表达个人看法，并不表明本站同意其观点或证实其描述。		
					</div>	
					</form>
				<?php else: ?>
					管理员屏蔽了你的评论权限....
				<?php endif; ?>
			<?php else: ?>
				登录后才能发表评论......
			<?php endif; ?>
			</div>	
			<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_cacheless($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); if ($this->caching && !$this->_cache_including): echo '{/nocache:eb9a1564b0f6c4eff2fc0f79b12ba959#1}'; endif;?>
		</div>
		
		<div class="nav"></div>
	</div>

	<div id="sidebar">
		<div class="sidebox">
       			<div class="dt"><strong>相关文章</strong></div>
        		<div class="dd dot">
          			<ul>
					<?php unset($this->_sections['article']);
$this->_sections['article']['name'] = 'article';
$this->_sections['article']['loop'] = is_array($_loop=$this->_tpl_vars['conns']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['article']['show'] = true;
$this->_sections['article']['max'] = $this->_sections['article']['loop'];
$this->_sections['article']['step'] = 1;
$this->_sections['article']['start'] = $this->_sections['article']['step'] > 0 ? 0 : $this->_sections['article']['loop']-1;
if ($this->_sections['article']['show']) {
    $this->_sections['article']['total'] = $this->_sections['article']['loop'];
    if ($this->_sections['article']['total'] == 0)
        $this->_sections['article']['show'] = false;
} else
    $this->_sections['article']['total'] = 0;
if ($this->_sections['article']['show']):

            for ($this->_sections['article']['index'] = $this->_sections['article']['start'], $this->_sections['article']['iteration'] = 1;
                 $this->_sections['article']['iteration'] <= $this->_sections['article']['total'];
                 $this->_sections['article']['index'] += $this->_sections['article']['step'], $this->_sections['article']['iteration']++):
$this->_sections['article']['rownum'] = $this->_sections['article']['iteration'];
$this->_sections['article']['index_prev'] = $this->_sections['article']['index'] - $this->_sections['article']['step'];
$this->_sections['article']['index_next'] = $this->_sections['article']['index'] + $this->_sections['article']['step'];
$this->_sections['article']['first']      = ($this->_sections['article']['iteration'] == 1);
$this->_sections['article']['last']       = ($this->_sections['article']['iteration'] == $this->_sections['article']['total']);
?>
						<li><a href="index.php?a=article&aid=<?php echo $this->_tpl_vars['conns'][$this->_sections['article']['index']]['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['conns'][$this->_sections['article']['index']]['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 25) : smarty_modifier_truncate($_tmp, 25)); ?>
</a></li>
					<?php endfor; else: ?>
						<li>目前没有任何推荐文章</li>
					<?php endif; ?>
          			</ul>
			</div>
       		 </div>
		<div class="nav"> </div>
		<div class="sidebox">
       			<div class="dt"><strong>推荐文章</strong></div>
        		 <div class="dd dot">
           			<ul>
					<?php unset($this->_sections['article']);
$this->_sections['article']['name'] = 'article';
$this->_sections['article']['loop'] = is_array($_loop=$this->_tpl_vars['recommends']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['article']['show'] = true;
$this->_sections['article']['max'] = $this->_sections['article']['loop'];
$this->_sections['article']['step'] = 1;
$this->_sections['article']['start'] = $this->_sections['article']['step'] > 0 ? 0 : $this->_sections['article']['loop']-1;
if ($this->_sections['article']['show']) {
    $this->_sections['article']['total'] = $this->_sections['article']['loop'];
    if ($this->_sections['article']['total'] == 0)
        $this->_sections['article']['show'] = false;
} else
    $this->_sections['article']['total'] = 0;
if ($this->_sections['article']['show']):

            for ($this->_sections['article']['index'] = $this->_sections['article']['start'], $this->_sections['article']['iteration'] = 1;
                 $this->_sections['article']['iteration'] <= $this->_sections['article']['total'];
                 $this->_sections['article']['index'] += $this->_sections['article']['step'], $this->_sections['article']['iteration']++):
$this->_sections['article']['rownum'] = $this->_sections['article']['iteration'];
$this->_sections['article']['index_prev'] = $this->_sections['article']['index'] - $this->_sections['article']['step'];
$this->_sections['article']['index_next'] = $this->_sections['article']['index'] + $this->_sections['article']['step'];
$this->_sections['article']['first']      = ($this->_sections['article']['iteration'] == 1);
$this->_sections['article']['last']       = ($this->_sections['article']['iteration'] == $this->_sections['article']['total']);
?>
						<li><a href="index.php?a=article&aid=<?php echo $this->_tpl_vars['recommends'][$this->_sections['article']['index']]['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['recommends'][$this->_sections['article']['index']]['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 25) : smarty_modifier_truncate($_tmp, 25)); ?>
</a></li>
					<?php endfor; else: ?>
						<li>没有任何推荐文章</li>
					<?php endif; ?>
          			</ul>
			</div>
       		 </div>
		<div class="nav"> </div>
		<div class="sidebox">
       			<div class="dt"><strong>热门文章</strong></div>
        		 <div class="dd dot">
          			<ul>
					<?php unset($this->_sections['article']);
$this->_sections['article']['name'] = 'article';
$this->_sections['article']['loop'] = is_array($_loop=$this->_tpl_vars['hots']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['article']['show'] = true;
$this->_sections['article']['max'] = $this->_sections['article']['loop'];
$this->_sections['article']['step'] = 1;
$this->_sections['article']['start'] = $this->_sections['article']['step'] > 0 ? 0 : $this->_sections['article']['loop']-1;
if ($this->_sections['article']['show']) {
    $this->_sections['article']['total'] = $this->_sections['article']['loop'];
    if ($this->_sections['article']['total'] == 0)
        $this->_sections['article']['show'] = false;
} else
    $this->_sections['article']['total'] = 0;
if ($this->_sections['article']['show']):

            for ($this->_sections['article']['index'] = $this->_sections['article']['start'], $this->_sections['article']['iteration'] = 1;
                 $this->_sections['article']['iteration'] <= $this->_sections['article']['total'];
                 $this->_sections['article']['index'] += $this->_sections['article']['step'], $this->_sections['article']['iteration']++):
$this->_sections['article']['rownum'] = $this->_sections['article']['iteration'];
$this->_sections['article']['index_prev'] = $this->_sections['article']['index'] - $this->_sections['article']['step'];
$this->_sections['article']['index_next'] = $this->_sections['article']['index'] + $this->_sections['article']['step'];
$this->_sections['article']['first']      = ($this->_sections['article']['iteration'] == 1);
$this->_sections['article']['last']       = ($this->_sections['article']['iteration'] == $this->_sections['article']['total']);
?>
						<li><a href="index.php?a=article&aid=<?php echo $this->_tpl_vars['hots'][$this->_sections['article']['index']]['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['hots'][$this->_sections['article']['index']]['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 25) : smarty_modifier_truncate($_tmp, 25)); ?>
</a></li>
					<?php endfor; else: ?>
						<li>前没有任何推荐文章</li>
					<?php endif; ?>
          			</ul>
			</div>
       		 </div>
		<div class="nav"> </div>
	</div>

	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/footer.inc.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
